export default {
  // app全局模块start
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  router: state => state.app.router,
  pageName: state => state.app.pageName,
  appMainWidth: state => state.app.appMainWidth,
  scrollTop: state => state.app.scrollTop, // 滚动高度
  // app全局模块end

  // 用户模块start
  token: state => state.user.token,
  userInfo: state => state.user.userInfo,

  // 用户模块end

  // 权限模块start
  beforeNewRoutes: state => state.permission.beforeNewRoutes,
  newRoutes: state => state.permission.newRoutes,
  menuList: state => state.permission.menuList,
  // 权限模块end

  // tag标签页菜单导航start
  homeRouter: state => state.tagsView.homeRouter,
  visitedViews: state => state.tagsView.visitedViews,
  // tag标签页菜单导航end

  // 国际化语言start
  lang: state => state.lang.lang
  // 国际化语言end
}

